<template>
  <div id="canvas_panel" class="context_panel" style="display: block">
    <h4 class="clearfix">画布</h4>
    <div class="cursor_measurement">
      <div class="cursor_wide">
        <span>宽度</span>
        <a-input />
      </div>
      <div class="cursor_tall">
        <span>高度</span>
        <a-input />
      </div>
    </div>
    <div class="information_box">
      <span>目标单位：</span>
      <a-select style="width: 40%" size="small">
        <a-select-option value="mm">mm</a-select-option>
        <a-select-option value="px">px</a-select-option>
      </a-select>
    </div>
    <div class="information_box">
      <span>目标宽度：</span>
      <a-input size="small" />
    </div>
    <div class="information_box">
      <span>目标高度：</span>
      <a-input size="small" />
    </div>
    <div class="information_box">
      <span>自定义尺寸：</span>
      <a-select style="width: 100%" size="small">
        <a-select-option value="自定义">自定义</a-select-option>
        <a-select-option value="378x189">378x189</a-select-option>
        <a-select-option value="640x480">640x480</a-select-option>
        <a-select-option value="800x600">800x600</a-select-option>
        <a-select-option value="1024x768">1024x768</a-select-option>
        <a-select-option value="1280x960">1280x960</a-select-option>
        <a-select-option value="1600x1200">1600x1200</a-select-option>
        <a-select-option value="1920x1080">1920x1080</a-select-option>
        <a-select-option value="自适应内容">自适应内容</a-select-option>
      </a-select>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.context_panel {
  margin: 0 1rem;
  h4 {
    color: #ffffff !important;
    font-size: 0.8rem;
  }
  .cursor_measurement {
    margin-bottom: 0.625rem;
    display: flex;
    .cursor_wide {
      flex: 1;
      background-color: #3f3f3c;
      margin-right: 1.25rem;
      padding: 0.625rem;
      input {
        margin-top: 0.625rem;
      }
    }
    .cursor_tall {
      flex: 1;
      background-color: #3f3f3c;
      padding: 0.625rem;
      input {
        margin-top: 0.625rem;
      }
    }
  }
  .information_box {
    margin-bottom: 0.625rem;
  }
}
</style>
